<?php 
$output = exec('python /Applications/XAMPP/xamppfiles/htdocs/python/input.py alan');
echo $output;